﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RoboTrocity.Code.Items;

namespace RoboTrocity.Code.ObjectStates.ItemStates {
	class ScrapCollectedState : ItemState {
		public ScrapCollectedState(Scrap _item)
			: base(_item, new Sprite("scrap")) {

		}

		public override void GetPickedUp(Player player) {
			
		}

		public override void Update(float elapsed) {
			base.Update(elapsed);
			if (TimeInState > 3) {
				AttachedItem.CurrentState = new DeleteState();
			}
		}
	}
}
